package com.todo.content.iface.backend.request;

import com.todo.common.common.entity.request.PageRequest;
import com.todo.common.common.enums.BusinessSceneEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/16 09:58
 * @description
 */
@Data
@Schema(title = "多条件查询分类信息入参", description = "多条件查询分类信息入参")
public class QueryContentClassifyByConditionReq extends PageRequest {
    /**
     * 主键
     */
    @Schema(title = "主键id", description = "主键id")
    private Long id;
    /**
     * 分类名称
     */
    @Schema(title = "分类名称", description = "分类名称")
    private String name;
    /**
     * 分类code
     */
    @Schema(title = "分类code", description = "分类code")
    private String code;
    /**
     * 业务场景
     * {@link BusinessSceneEnum}
     */
    @Schema(title = "业务场景", description = "业务场景")
    private Integer businessScene;
    /**
     * 是否开启
     */
    @Schema(title = "是否开启", description = "是否开启")
    private Integer isEnable;
    /**
     * 创建用户
     */
    @Schema(title = "创建用户", description = "创建用户")
    private String createUser;

    public boolean baseCheck() {
        return true;
    }
}
